package com.link4a.doms.web.auth;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author brown
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Privilege {

	/**
	 * 具备任一权限即可，若不具备任何权限，则抛出非法权限异常
	 * @return
	 */
	String[] value() default {};
}
